package modelo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@NamedQueries( { @NamedQuery(name = "Notacredito.findAll", query = "select o from Notacredito o") })
@Table(name = "\"notacredito\"")
public class Notacredito implements Serializable {
    @Id
    @Column(name = "idnotacredito", nullable = false)
    private long idnotacredito;
    @Column(name = "uuid", nullable = false)
    private String uuid;

    public Notacredito() {
    }

    public Notacredito(long idnotacredito, String uuid) {
        this.idnotacredito = idnotacredito;
        this.uuid = uuid;
    }

    public long getIdnotacredito() {
        return idnotacredito;
    }

    public void setIdnotacredito(long idnotacredito) {
        this.idnotacredito = idnotacredito;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
